package com.xh.fma.commodity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xh.common.utils.PageUtils;
import com.xh.fma.commodity.entity.SpuInfoEntity;
import com.xh.fma.commodity.vo.SpuSaveVO;
import org.apache.ibatis.annotations.Param;
import sun.rmi.runtime.Log;

import java.util.Map;

/**
 * 商品 spu 信息
 *
 * @author sjf
 * @email xhyy7762@gmail.com
 * @date 2023-07-30 19:11:41
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);


    void saveSpuInfo(SpuSaveVO spuSaveVO);

    // 上架和下架 的方法
    void statusUpdate(Long spuId, Long status);

}

